package com.nicolas.pattern.interpreter.context;

public class ContextMain {
	public static void main(String[] args){  
        String text = "LOOP 2 PRINT杨过 SPACE SPACE PRINT 小龙女 BREAK END PRINT 郭靖 SPACE SPACE PRINT 黄蓉 BREAK END";  
        Context context = new Context(text);  
              
        Node node = new ExpressionNode();  
        node.interpret(context);  
        node.execute();  
    }  
}
